package com.chw.service;


import com.chw.model.User;
import com.chw.model.vo.UserVo;

import javax.mail.MessagingException;
import java.io.UnsupportedEncodingException;

public interface IUserService {
    Object area(Integer pid);

    Object addUser(User user) throws MessagingException, UnsupportedEncodingException;

    Object isExit(String name,String password);

    Object queryUser(UserVo userVo);

    void upUser(User user);

    Object upPass(String name, Integer id, String password, String password1);
}
